package com.tfswx.ruleengine.database.bean.table;

import com.tfswx.ruleengine.database.bean.BaseTable;
import com.tfswx.ruleengine.database.bean.TabeleField;
import com.tfswx.ruleengine.database.bean.Zdlx;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ricky
 * @date 2022/3/1
 */
public class GzflTable extends BaseTable {
    @Override
    public String getTableName() {
        return "T_GZYQ_XT_GZFL";
    }

    @Override
    public String getTableComment() {
        return "规则分类表";
    }

    @Override
    public List<TabeleField> getFieldList() {
        List<TabeleField> gzflFieldList = new ArrayList<>();
        gzflFieldList.add(new TabeleField("GZFLBM", Zdlx.CHAR, 32, true, "规则分类编码"));
        gzflFieldList.add(new TabeleField("GZFLMC", Zdlx.VARCHAR, 300, false, "规则分类名称"));
        gzflFieldList.add(new TabeleField("GZFLBS", Zdlx.VARCHAR, 300, false, "规则分类标识"));
        gzflFieldList.add(new TabeleField("XMBM", Zdlx.CHAR, 32, false, "项目编码"));
        gzflFieldList.add(new TabeleField("SFSC", Zdlx.CHAR, 1, false, "是否删除"));
        gzflFieldList.add(new TabeleField("CJSJ", Zdlx.TIMESTAMP, null, false, "创建时间"));
        gzflFieldList.add(new TabeleField("ZHXGSJ", Zdlx.TIMESTAMP, null, false, "最后修改时间"));
        return gzflFieldList;
    }
}
